package com.wx.forum.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "captcha")
public class CaptchaProperties {
    private Integer width;
    private Integer hight;
    private Session session;
    @Data
    public static class Session{
        private String code;
        private String start_time;
    }
}
